POV-Ray : Newsgroups : povray.newusers : lightning : lightning Server Time
5 Nov 2024 01:26:39 EST (-0500)
  lightning  
From: Dick Keuneke
Date: 13 Aug 2002 20:59:42
Message: <3d59ab7e@news.povray.org>
Hi,
I'm looking for a way to create lightning for an animation I am creating.

What I want is to have the fork-type lightning near the main object of the
scene.  The lightning frame will be interpolated between the animation
frames to cause it to appear to "flash".
I have managed to create a fair depiction (below) using a sphere and
color_map but would like one with a more branched or forked look.

sphere { <0, -25, 0>, 31
   inverse
   pigment {
      marble
      turbulence 2.9
      colour_map {
        [0.0, 0.95   color Clear  color Clear]
        [0.95, 0.975   color Clear  color Clear]
        [0.975, 1.001 color Yellow  color White]
      }
      scale 325
   }
   finish {
      ambient 1
      diffuse 0
   }
}

Any ideas how I might accomplish that?

Thanks in advance.

dicdoc


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.